package Chapter03;

import java.util.Scanner;

public class zuoye4 {
    //4.输入一个数,判断是否是7的倍数
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        System.out.println("请输入一个整数:");
        int num =input.nextInt();
        if(num%7==0){
            System.out.println("输入"+num+"是7的倍数");
        }else {
            System.out.println("输入"+num+"不是7的倍数");
        }
    }
}
